def sms(words):
    m = (words // 70) * 0.1
    if words % 70 != 0:
        m += 0.1
    return m

sum = 0
n = int(input())
for i in range(n):
    w = int(input())
    sum += sms(w)

print(format(sum,".1f"))


